package org.example.frw.canal.binlog.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.example.frw.canal.HashValue;

@Getter
@Setter
@ToString(callSuper = true)
public class GoodsParamBinlogEntity extends BaseBinlogEntity implements HashValue {
    private Long id;

    /**
     * 商品ID
     */
    private Long goodsId;
    /**
     * 参数名称
     */
    private String name;
    /**
     * 参数值
     */
    private String description;

    @Override
    public String hashValue() {
        return String.valueOf(goodsId);
    }
}
